import request from '@/utils/request';

// 日历列表
export const task_list = (data: Object) => {
    return request({
        url: "/pc/task/list",
        data: data,
        method: "post",
    });
};
// 学生列表
export const studentList = (data: Object) => {
    return request({
        url: "/pc/student/list",
        data: data,
        method: "post",
    });
};

// 日历新增/编辑
export const task_add = (data: Object) => {
    return request({
        url: "/pc/task/save",
        data: data,
        method: "post",
    });
};
// 日历编辑回显
export const task_edit = (data: Object) => {
    return request({
        url: "/pc/task/detail",
        data: data,
        method: "post",
    });
};
